//
//  viewPreview.m
//  HAODE
//
//  Created by panquanReabam.com on 16/5/23.
//  Copyright © 2016年 reabam.com. All rights reserved.
//

#import "PreviewView.h"

@implementation PreviewView



- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _viewPreview = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@""]];
        _viewPreview.frame = CGRectMake(0, 0,ScreenWidth,ScreenHeight);
        [self addSubview:_viewPreview ];
        
                
        UIView* view1=[[UIView alloc]initWithFrame:CGRectMake(0, 0, ScreenWidth, ScreenHeight*440/1334)];
        view1.backgroundColor=[UIColor blackColor];
        view1.alpha=0.6;
        [self addSubview:view1];
        UIView* view2=[[UIView alloc]initWithFrame:CGRectMake(ScreenWidth*705/750, ScreenHeight*440/1334, ScreenWidth, ScreenHeight)];
        view2.backgroundColor=[UIColor blackColor];
        view2.alpha=0.6;
        [self addSubview:view2];
        UIView* view3=[[UIView alloc]initWithFrame:CGRectMake(0, ScreenHeight*440/1334, ScreenWidth*45/750, ScreenHeight)];
        view3.backgroundColor=[UIColor blackColor];
        view3.alpha=0.6;
        [self addSubview:view3];
        UIView* view4=[[UIView alloc]initWithFrame:CGRectMake(ScreenWidth*45/750,ScreenHeight*900/1334, ScreenWidth*660/750, ScreenHeight)];
        view4.backgroundColor=[UIColor blackColor];
        view4.alpha=0.6;
        [self addSubview:view4];
        UIImageView*viewPreview1 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"saoyisao(1).png"]];
        viewPreview1.frame = CGRectMake(ScreenWidth*50/750, ScreenHeight*440/1334,ScreenWidth*700/750,ScreenHeight*430/1334);
        [self addSubview:viewPreview1];
        
        _line = [[UILabel alloc] initWithFrame:CGRectMake(ScreenWidth*30/750, 0, ScreenWidth*600/750, 3)];
        _line.backgroundColor=[UIColor colorWithRed:160/255.0 green:224/255.0 blue:57/255.0 alpha:1.0];
        [viewPreview1 addSubview:_line];
        
        
        UILabel *line10 = [[UILabel alloc]initWithFrame:CGRectMake(ScreenWidth*30/750,ScreenHeight*420/1334, ScreenWidth*65/750, 1)];
        line10.backgroundColor = luseColor;
        [self addSubview:line10];
        UILabel *line11 = [[UILabel alloc]initWithFrame:CGRectMake(ScreenWidth*30/750,ScreenHeight*420/1334,1,ScreenWidth*65/750)];
        line11.backgroundColor = luseColor;
        [self addSubview:line11];
        UILabel *line12 = [[UILabel alloc]initWithFrame:CGRectMake(ScreenWidth*655/750,ScreenHeight*420/1334, ScreenWidth*65/750, 1)];
        line12.backgroundColor = luseColor;
        [self addSubview:line12];
        UILabel *line13 = [[UILabel alloc]initWithFrame:CGRectMake(ScreenWidth*720/750,ScreenHeight*420/1334, 1, ScreenWidth*65/750)];
        line13.backgroundColor = luseColor;
        [self addSubview:line13];
        UILabel *line14 = [[UILabel alloc]initWithFrame:CGRectMake(ScreenWidth*30/750,viewPreview1.bottom+ScreenHeight*50/1334, ScreenWidth*65/750, 1)];
        line14.backgroundColor = luseColor;
        [self addSubview:line14];
        UILabel *line15 = [[UILabel alloc]initWithFrame:CGRectMake(ScreenWidth*655/750,viewPreview1.bottom+ScreenHeight*50/1334, ScreenWidth*65/750,1 )];
        line15.backgroundColor = luseColor;
        [self addSubview:line15];
        UILabel *line16 = [[UILabel alloc]initWithFrame:CGRectMake(ScreenWidth*720/750,line15.bottom-ScreenWidth*65/750, 1,ScreenWidth*65/750)];
        line16.backgroundColor = luseColor;
        [self addSubview:line16];
        UILabel *line17 = [[UILabel alloc]initWithFrame:CGRectMake(ScreenWidth*30/750,line15.bottom-ScreenWidth*65/750, 1,ScreenWidth*65/750)];
        line17.backgroundColor = luseColor;
        [self addSubview:line17];

        
    }
    return self;
}

@end
